package com.gengzp.common.model.permission.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName SearchPermissionsResp
 * @Description 查询权限列表返回实体
 * @Author gengzp
 * @Date 2025/9/15 15:47
 */
@Data
@ApiModel(value = "查询权限列表返回实体")
public class SearchPermissionsResp implements Serializable {

    private static final Logger logger = LoggerFactory.getLogger(SearchPermissionsResp.class);

    /**
     * 权限编码
     */
    @ApiModelProperty(value = "权限编码")
    private String permissionCode;

    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称")
    private String permissionName;

    /**
     * 权限描述
     */
    @ApiModelProperty(value = "权限描述")
    private String permissionDescription;

    /**
     * 子权限集合
     */
    @ApiModelProperty(value = "子权限集合")
    private List<SearchPermissionsResp> childrenPermissions;

}
